Release 10.1A: OpenEdge Development:
Programming Interfaces
Managing colors and fonts in graphical applications
Graphical interfaces provide a variety of techniques to help manage color and font definitions for an application. Using these techniques, Progress allows a graphical application to manage colors and fonts at four levels of run-time operation:
- User Access to the Color and Font Tables — Allowing the user to change the definitions for current dynamic color and font table entries using the
SYSTEM–DIALOG COLORandSYSTEM–DIALOG FONTstatements. For more information, see the "Allowing the user to change colors and fonts" section.- Procedure Access to the Color and Font Tables — Examining and changing the definitions for color table entries in the current environment using the
COLOR–TABLEhandle, and examining height and width characteristics of font table entries in the current environment using theFONT–TABLEhandle. Also, this section addresses setting the definition for arbitrary colors using theRGB–VALUEfunction. For more information, see the "Accessing the current color and font tables" section.- Procedure Access to Color and Font Definitions — Reading and writing color and font definitions for the current environment using the
GET–KEY–VALUEandPUT–KEY–VALUEstatements. For more information, see the "Retrieving and changing color and font definitions" section.- Procedure Replacement of the Current Environment — Replacing the application’s current color and font tables with tables from a different environment using the
LOAD,USE, andUNLOADstatements. For more information, see the "Managing application environments" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |